import request from '@/utils/request'

// 查询高等院校数据表列表
export function listCompassUniversityInfo(query) {
  return request({
    url: '/system/CompassUniversityInfo/list/' + query.pageNum + '/' + query.pageSize,
    method: 'get',
    params: query
  })
}

// 查询高等院校数据表详细
export function getCompassUniversityInfo(pastStudents) {
  return request({
    url: '/system/CompassUniversityInfo/' + pastStudents,
    method: 'get'
  })
}

// 新增高等院校数据表
export function addCompassUniversityInfo(data) {
  return request({
    url: '/system/CompassUniversityInfo',
    method: 'post',
    data: data
  })
}

// 修改高等院校数据表
export function updateCompassUniversityInfo(data) {
  return request({
    url: '/system/CompassUniversityInfo',
    method: 'put',
    data: data
  })
}

// 删除高等院校数据表
export function delCompassUniversityInfo(pastStudents) {
  return request({
    url: '/system/CompassUniversityInfo/' + pastStudents,
    method: 'delete'
  })
}

// 导出高等院校数据表
export function exportCompassUniversityInfo(query) {
  return request({
    url: '/system/CompassUniversityInfo/export',
    method: 'get',
    params: query
  })
}
